﻿using System.Web.Mvc;

namespace MiniSched.Web.Areas.Api {

    public class ApiAreaRegistration : AreaRegistration {

        public override string AreaName {
            get { return "Api"; }
        }

        public override void RegisterArea(AreaRegistrationContext context) {
            context.MapRoute(
                "DefaultApi",
                "api/{controller}/{id}",
                new { id = UrlParameter.Optional }
            );
        }
    }
}